package com.bootdo.dj.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.dj.dao.ModelMenuDao;
import com.bootdo.dj.domain.ModelMenuDO;
import com.bootdo.dj.service.ModelMenuService;



@Service
public class ModelMenuServiceImpl implements ModelMenuService {
	@Autowired
	private ModelMenuDao modelMenuDao;
	
	@Override
	public ModelMenuDO get(String id){
		return modelMenuDao.get(id);
	}
	
	@Override
	public List<ModelMenuDO> list(Map<String, Object> map){
		return modelMenuDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return modelMenuDao.count(map);
	}
	
	@Override
	public int save(ModelMenuDO modelMenu){
		return modelMenuDao.save(modelMenu);
	}
	
	@Override
	public int update(ModelMenuDO modelMenu){
		return modelMenuDao.update(modelMenu);
	}
	
	@Override
	public int remove(String id){
		return modelMenuDao.remove(id);
	}
	
	@Override
	public int batchRemove(String[] ids){
		return modelMenuDao.batchRemove(ids);
	}
	
}
